Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matheusps/okta-auth-example
Authentication with Okta built on top of angular 6 and angular material for learning purpose.
https://github.com/matheusps/okta-auth-example
angular angular-cli angular-material angular6 authentication material oauth2 okta
Last synced: 13 days ago
JSON representation
Authentication with Okta built on top of angular 6 and angular material for learning purpose.
- Host: GitHub
- URL: https://github.com/matheusps/okta-auth-example
- Owner: matheusps
- Created: 2018-05-27T00:29:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-27T03:30:17.000Z (over 6 years ago)
- Last Synced: 2024-10-04T11:41:17.081Z (about 1 month ago)
- Topics: angular, angular-cli, angular-material, angular6, authentication, material, oauth2, okta
- Language: TypeScript
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Okta Auth Example
### Before run
1. Go to Okta's developers page at: https://developer.okta.com/.
2. Create an account if you do not have one
3. Create an SPA application if you do not have one.
3. Change the file ./_config/auth.config.ts, with your app's parameters:
```sh
/** Config for Okta */
export const AuthConfig = {
issuer: 'https://{your_domain}.com/oauth2/default',
redirectUri: 'http://localhost:4200/implicit/callback',
clientId: '{client_id}'
};
```### Running
This project requires angular-cli to run.
Install the dependencies and devDependencies and start the server.```sh
$ cd okta-auth-example
$ yarn
$ ng serve
```
Obs.: You can use npm, but use yarn => because it is cooler!... duh!