Skip to content

Authentication on servers using Oauth2 #521

Answered by ato
AndreSchmutz asked this question in Q&A
Discussion options

You must be logged in to vote

Heritrix doesn't have any special support for OAuth2 client authentication. You are correct that Restlet is not used in the crawling process and it's only used for Heritrix's user interface.

I haven't tried crawling a site authenticated by OAuth2 myself but these are two ideas I'd try if I needed to do this:

Option 1. Form login

Usually the way OAuth2 authentication works is an application redirects the browser to an authentication server, the user fills in a login form and the authentication server redirects back to the application which sets a session cookie which will authenticate every request. The browser itself has no special support awareness of OAuth2 it just needs support forms, …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ato
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #446 on September 30, 2022 00:45.