This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,900" rel="stylesheet"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4"> | |
<div class="card card-1"> | |
<h3>Ionic Native</h3> | |
<p>A curated set of ES5/ES6/TypeScript wrappers for plugins to easily add any native functionality to your Ionic apps.</p> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="card transition"> | |
<h2 class="transition">Awesome Headline</h2> | |
<p>Aenean lacinia bibendum nulla sed consectetur. Donec ullamcorper nulla non metus auctor fringilla.</p> | |
<div class="cta-container transition"><a href="#" class="cta">Call to action</a></div> | |
<div class="card_circle transition"></div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.sendHappyPlaces = (req, res) => { | |
console.log("#*Y#*Y&#&*#&#T&&#^^&#&#&*#") | |
console.log(req.query) | |
console.log("#*Y#*Y&#&*#&#T&&#^^&#&#&*#") | |
const okta = require('@okta/okta-sdk-nodejs'); | |
const client = new okta.Client({ | |
orgUrl: '{Your Okta ORG}', | |
token: '{Your Okta Api Token}', // Obtained from Developer Dashboard | |
requestExecutor: new okta.DefaultRequestExecutor() // Will be added by default in 2.0 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.sendHealthData = (req, res) => { | |
console.log("#*Y#*Y&#&*#&#T&&#^^&#&#&*#") | |
console.log(req.query) | |
console.log("#*Y#*Y&#&*#&#T&&#^^&#&#&*#") | |
const okta = require('@okta/okta-sdk-nodejs'); | |
const client = new okta.Client({ | |
orgUrl: '{YOUR OKTA ORG URL}', | |
token: '{YOUR OKTA API TOKEN}', // Obtained from Developer Dashboard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backend Api Call | |
exports.getFeelGoodUsers = (req, res) => { | |
const OktaJwtVerifier = require('@okta/jwt-verifier'); | |
console.log(req.query.token) | |
const oktaJwtVerifier = new OktaJwtVerifier({ | |
issuer: '{YOU OKTA ORG URL}/oauth2/default' | |
}) | |
var accessTokenString = req.query.token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change a devise app from scratch | |
video link here: https://drive.google.com/file/d/1S59pmFe-Cp_s8aJLMax296x4AN0x0naK/view?usp=sharing | |
Add these Gems to your Gemfile | |
gem 'omniauth-oktaoauth' | |
gem 'activerecord-session_store' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
title: "Airport Codes" | |
description: "Get the name of an airport from its three-letter IATA code." | |
version: "1.0.0" | |
host: "{project name}.appspot.com" | |
schemes: | |
- "https" | |
paths: | |
"/airportName": |