Remove OAuthToken from db (use authlib dict); basic OAuth2 service provider with Forgejo
This commit is contained in:
parent
21ccdad953
commit
2fe7536c53
10 changed files with 106 additions and 50 deletions
|
@ -120,7 +120,7 @@
|
|||
if (xmlHttp.readyState == 4) {
|
||||
elem.classList.add("hasResponseStatus")
|
||||
elem.classList.add("status-" + xmlHttp.status)
|
||||
elem.title = "Response code: " + xmlHttp.status
|
||||
elem.title = "Response code: " + xmlHttp.status + " - " + xmlHttp.statusText
|
||||
}
|
||||
}
|
||||
xmlHttp.open("GET", elem.href, true) // true for asynchronous
|
||||
|
|
|
@ -109,6 +109,8 @@
|
|||
<a href="protected-by-foorole-and-barrole">Auth + foorole and barrole protected content</a>
|
||||
<a href="fast_api_depends" class="hidden">Using FastAPI Depends</a>
|
||||
<a href="other">Other</a>
|
||||
<a href="oauth2-forgejo-test">OAuth2 test (forgejo user info)</a>
|
||||
<a href="introspect">Introspect token</a>
|
||||
</div>
|
||||
{% if user_info_details %}
|
||||
<div class="debug-auth">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue