File: native_spa_pkce_auth0.rst

package info (click to toggle)
python-requests-oauthlib 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 516 kB
  • sloc: python: 2,169; makefile: 157
file content (12 lines) | stat: -rw-r--r-- 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Native or SPA Tutorial with PKCE in Auth0
=========================================

Setup a new web project in the Auth0 Dashboard, (application type: Native application or Single Page Web Application)_

Note this sample is valid for any Identity Providers supporting OAuth2.0 Authorization Code with PKCE.

When you have obtained a ``client_id``, and registered
a callback URL then you can try out the command line interactive example below.

.. literalinclude:: native_spa_pkce_auth0.py
  :language: python