Giter Site home page Giter Site logo

Comments (7)

ganigeorgiev avatar ganigeorgiev commented on July 24, 2024

It is working correctly. If it is empty it fallbacks to the provider's defaults. See AuthProviderConfig.SetupProvider

from pocketbase.

OfflinePing avatar OfflinePing commented on July 24, 2024

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.

OfflinePing avatar OfflinePing commented on July 24, 2024

or do I need to setup the Provider manually in order to work with it?

from pocketbase.

ganigeorgiev avatar ganigeorgiev commented on July 24, 2024

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.

OfflinePing avatar OfflinePing commented on July 24, 2024

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.

haupt-pascal avatar haupt-pascal commented on July 24, 2024

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.

ganigeorgiev avatar ganigeorgiev commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.