Comments (7)
It is working correctly. If it is empty it fallbacks to the provider's defaults. See AuthProviderConfig.SetupProvider
from pocketbase.
Okay,
But the default seems to be empty aswell. I haven't set the URL so when I access .AuthURL it also is empty
from pocketbase.
or do I need to setup the Provider manually in order to work with it?
from pocketbase.
I honestly don't understand what you are trying todo and I don't think I can help you but please stop spamming by opening multiple issues and discussions for what it seems the same thing.
from pocketbase.
Okay,
Sorry, I thought the URL wasn't supposed to be empty. My bad. I edited my Discussion, trying to make clear what exactly I am trying to achieve. Sorry for spamming or being unclear.
from pocketbase.
I think what he's trying to say is that he can't figure out how to embed oAuth in htmx using golang from the documentation. The only thing asked for here is an example of how to embed oauth using golang.
Why was this closed immediately when it was simply a communication problem?
from pocketbase.
Why was this closed immediately when it was simply a communication problem?
@haupt-pascal Because it is not an issue with PocketBase and the user already had a discussion post about it. The same user is in my "black list" for suspicious of working on a malware based on his previous posts and I don't want to help him with that.
In any case, in the linked discussion I've provided link to the code that shows how to initializes the OAuth2 form. More than this I can't help further. This is not a general dev support forum. Stack Overflow, Discord, Reddit, etc. are better suited for this.
Can this be documented better - sure but I already have enough on my hands and as explained in the linked discussion this is not a standard PocketBase use case and the user may find it easier to use something else.
from pocketbase.
Related Issues (20)
- hooks watcher restarts for any file change in the pb_hooks directory HOT 1
- Subject: Issue with Changing Password for OAuth2 Accounts HOT 3
- Feature Request: Subcollections HOT 1
- Correct way to update a record with API rules
- Macros in API rules not working as expected
- How to get logs data? HOT 1
- Support for @request.cookies when using database rules HOT 4
- API Keys? HOT 1
- Proposal: add API based end-to-end (aka e2e) testing HOT 1
- Disable HTTPS/SSL (443 already in use) HOT 2
- New feature for create record HOT 2
- Proposal: labels/folders for collections HOT 1
- Proposal: Hide record create and edit controls
- Proposal: Allow Discord OAuth without Email scope HOT 1
- Question Feature: How can i make a custom id field in pocketbase HOT 1
- Request for help from anyone: Deploying to Vultr
- Multiple Relation Row in a View, expand on a list of relations in a view
- Bug: Collections with indexes created using sdk does not behave properly HOT 1
- Enable logs in Docker output
- Notion authentication config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pocketbase.